<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<meta name="misapplication-tap-highlight" content="no" />
		<meta name="HandheldFriendly" content="true" />
		<meta name="MobileOptimized" content="320" />
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="default">
		<meta name="theme-color" content="#2196f3">
		<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap:">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">	
		<meta http-equiv="expires" content="0">
		<title>iotwebapp</title>
		<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
		<link rel="stylesheet" href="css/framework7.css" type="text/css" charset="utf-8" />
		<link rel="stylesheet" href="css/app.css" type="text/css" charset="utf-8" />
		<link rel="stylesheet" href="css/mui.css" />
		<style type="text/css">
			.mui-bar {
				height: 44px !important;
				width:100%;
				position:fixed;
				top:0;
				left:0;
				z-index: 999;
			}
			
			.dcontent{
				top:20px;
				left:0;
				width:100%;
				position:fixed;
			}
		</style>
	</head>

	<body>
		<div class="page"> 
		<div class=" mui-navbar-inner mui-bar mui-bar-nav">
            <div id='back-ion' class="mui-left mui-action-back mui-btn  mui-btn-link mui-btn-nav mui-pull-left" onclick="goBack()">
					<span class="mui-icon mui-icon-left-nav"></span>
			</div>
            <div class="mui-center mui-title"  id='nvtt-tile'>协商</div>
            <div class="mui-right mui-pull-right" onclick="gotoSetpage()">
                <span class="mui-icon mui-icon mui-icon-bars" ></span>
            </div>
		</div>	
			
		<div id="dcontent" class="dcontent" >
			<div class="list-block media-list" >
				<iframe id="mainmenu" name="mainmenu" class="mainmenu_ri" src="http://pdm.orinko.com.cn/showModApp.jsp?entcode=hfht&modtag=8888" onload="urlload(this)"></iframe>
			</div> 
			<div class="list-block media-list">
				<button type="button" onclick="restBtn()">重置页面</button>
			</div>

			<br/>
			<div style="display: none;">
				<div id="sys" class="button" onclick="clicked('plus/barcode_scan.html',true,true)">扫一扫</div>
			</div>
			
			<div class="page-content">
				<div class="content-block">
					<p>
						<a href="#" class="prompt-ok"></a>
					</p>
				</div>
			</div>
		</div></div>

	</body>
	<script type="text/javascript" src="js/mui.min.js" ></script>
	<script type="text/javascript" src="js/immersed.js"></script>
	<script type="text/javascript" src="js/framework7.js"></script>
	<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="js/common.js"></script>
	<script type="text/javascript" src="js/cpc.js"></script>
	
	<script type="text/javascript">
		
		function scaned(t, message, f) {
			console.log("传值:" + message);
			console.log('sonme:' + plus.storage.getItem('frameYm'));

			var item = window.plus.storage.getItem('frameYm');
			console.log('frameYm:' + item);
			window.frames[0].postMessage(message, item);
			
		}
		
		window.addEventListener('message', function(e) {
			console.log('e' + e);
			var value = e.data;
			console.log('this.message:' + value)
			if(value == 'iotwebapp') {
				$('#sys').trigger('onclick');
			}

		}, false);
		
	</script>

</html>